/**
 * 加载用户消息
 */
export const useLoadMessageApi = (body) => {
    return useHttpPost(`/v1/message/list`,{body})
}

/**
 * 删除消息
 */
export const useDelMessageApi = (id) => {
    return useHttpPost(`/v1/message/del/${id}`, {})
}

/**
 * 已读消息
 */
export const useUpdateMarkMessageByIdApi = (id) => {
    return useHttpPost(`/v1/message/update/mark/${id}`, {})
}


/**
 * 已读消息
 */
export const useUpdateMarkMessageAApi = () => {
    return useHttpPost(`/v1/message/update/markall`, {})
}